<template>
  <div>
    <div class="header">
      <router-link to="/">
        <span class="iconfont back-icon">&#xe658;</span>
      </router-link>
      <h2>城市选择</h2>
    </div>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
  @import '~styles/variables.styl'
  .header
    display flex
    height .88rem
    line-height .88rem
    font-size .32rem
    color #fff
    background-color $bgColor
    .back-icon
      width .64rem
      font-size .64rem
      color #fff
    h2
      flex 1
      text-align center
      padding-right .1rem
</style>
